package com;

import com.mapper.OrdersMapper;
import com.util.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class OrdersTest {
    @Test
    public void findOrdersTest(){
        SqlSession sqlSession = MyBatisUtils.getSqlSession();
        OrdersMapper ordersMapper = sqlSession.selectOne("com.mapper.OrdersMapper.findOrders");
        System.out.println(ordersMapper);
        sqlSession.close();
    }
}
